package com.cnpc.iot.expert.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.cnpc.framework.annotation.Header;
import com.cnpc.framework.base.entity.BaseEntity;
@Entity
@Table(name = "tbl_expert")
public class Expert extends BaseEntity{
	private static final long serialVersionUID = 1L;

	@Header(name="姓名")
    @Column(name="name")
    private String name;

    @Header(name="编码")
    @Column(name="code")
    private String code;

    @Header(name="性别")
    @Column(name="sex")
    private String sex;
    
    @Header(name="手机")
    @Column(name="mobile")
    private String mobile;
    
    
    @Header(name="微信")
    @Column(name="wx", nullable=true)
    private String wx;
    
    @Header(name="QQ")
    @Column(name="qq", nullable=true)
    private String qq;
    
    @Header(name="单位")
    @Column(name="unit", nullable=true)
    private String unit;
    
    
    @Header(name="职称")
    @Column(name="level", nullable=true)
    private String level;
    
    @Header(name="简介")
    @Column(name="description", nullable=true)
    private String description;
    
    @Header(name="收款码")
    @Column(name="payimage", nullable=true)
    private String payimage;
    
    @Header(name="备注")
    @Column(name="remark", nullable=true, length=500)
    private String remark;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getWx() {
		return wx;
	}

	public void setWx(String wx) {
		this.wx = wx;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPayimage() {
		return payimage;
	}

	public void setPayimage(String payimage) {
		this.payimage = payimage;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
    
    
    
}
